<template>
  <div id="app">
    <router-view/>
  </div>
</template>

<script>
  export default {
    mounted() {
      setTimeout(() => {
        window.L2Dwidget.init({
          pluginRootPath: '/static/live2dw/',
          pluginJsPath: 'lib/',
          pluginModelPath: 'live2d-widget-model-tororo/assets/',
          tagMode: false,
          debug: false,
          model: { jsonPath: 'static/live2dw/live2d-widget-model-tororo/assets/tororo.model.json' },
          display: { position: 'left', width: 200, height: 350 },
          mobile: { show: true },
          log: false
        })
      }, 1000)
    }
  }
</script>
<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #2c3e50;
}
/*配置全局引入*/
@import url("./assets/icon/iconfont.css");
</style>
